home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gigarom 1
/
Gigarom Macintosh Archives (Quantum Leap)(CDRM1080320)(1993).iso
/
FILES
/
DEV
/
I-Z
/
Lex.cpt
/
Lex
/
STDIO_LEXLIB.π folder
/
LEXERR.C
< prev
next >
Wrap
Text File
|
1990-06-03
|
1KB
|
40 lines
/*
HEADER: CUG nnn.nn;
TITLE: LEX - A Lexical Analyser Generator
VERSION: 1.0 for IBM-PC
DATE: Jan 30, 1985
DESCRIPTION: A Lexical Analyser Generator. From UNIX
KEYWORDS: Lexical Analyser Generator YACC C PREP
SYSTEM: IBM-PC and Compatiables
FILENAME: LEXERR.C
WARNINGS: This program is not for the casual user. It will
be useful primarily to expert developers.
CRC: N/A
SEE-ALSO: YACC and PREP
AUTHORS: Scott Guthery 11100 leafwood lane Austin, TX 78750
COMPILERS: DESMET-C
REFERENCES: UNIX Systems Manuals
*/
/*
* Bob Denny 28-Aug-82 Move stdio dependencies to lexerr(), lexget(),
* lexech() and mapch(). This is one of 4 modules
* in lexlib which depend upon the standard I/O package.
* Scott Guthery 20-Nov-83 Adapt for IBM PC & DeSmet C
*/
#define STDIO_LEXLIB
#include <stdio.h>
#include "lex.h"
extern SHORTINT yyline;
void
lexerror(s, arg1, arg2, arg3)
char *s;
SHORTINT arg1, arg2, arg3;
{
if (yyline)
fprintf(stderr, (char *)"\n%d: ", yyline);
fprintf(stderr, s, arg1, arg2, arg3);
}